package com.gwcm.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.gwcm.common.BaseEntity;
import lombok.Data;

/**
 * @TableName order_info
 */
@TableName(value ="order_info")
@Data
public class OrderInfo extends BaseEntity implements Serializable {
    private Long id;
    /**
     * 商户订单编号
     */
    private String orderNo;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 商品id
     */
    private Long productId;
    /**
     * 利润
     */
    private BigDecimal profit;
    /**
     * 订单金额
     */
    private Integer totalFee;
    /**
     * 订单状态(0:支付成功,1:未支付,2:已关闭，3:退款成功，4:已发货）
     */
    private Integer orderStatus;
    /**
     * 支付类型(0:微信支付,1:支付宝支付)
     */
    private Integer paymentType;

    private static final long serialVersionUID = 1L;
}